package com.personal.o2o.web.shopadmin;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/shopadmin")
public class ShopAdminController {

    // 店铺添加/编辑页面
    @RequestMapping("/shopoperation")
    public String shopOperation(){
        return "shop/shopOperation";
    }

    // 店铺列表页面
    @RequestMapping("/shoplist")
    public String shopList(){
        return "shop/shoplist";
    }

    //店铺管理页面
    @RequestMapping("/shopmanagement")
    public String shopManagement(){
        return "shop/shopmanagement";
    }

    // 商品类别管理页面
    @RequestMapping("/productcategorymanagement")
    public String productCategoryManage(){
        return "shop/productcategorymanagement";
    }

    // 商品添加/编辑页面
    @RequestMapping("/productoperation")
    public String productOperation(){
        return "shop/productoperation";
    }

    // 产品管理页面
    @RequestMapping("/productmanage")
    private String productManage() {
        return "shop/productmanage";
    }

}
